package hcn.protocol.registration.xml.resp;

import hcn.protocol.registration.MsgHeader;
import hcn.protocol.registration.xml.resq.DeptReq;
import hcn.protocol.registration.xml.resq.QueryDoctor;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * @Author impel
 * @Date 2020/11/10 9:11
 * @Description: queryDeptAndDoctor
 * 挂号科室医生搜索
 * @Version 1.0
 */
@XmlRootElement(name = "BSXml")
@XmlAccessorType(XmlAccessType.FIELD)
public class QueryDoctorResponse {
    private MsgHeader MsgHeader;
    private MsgBody MsgBody;

    public MsgHeader getMsgHeader() {
        return MsgHeader;
    }

    public void setMsgHeader(MsgHeader msgHeader) {
        MsgHeader = msgHeader;
    }

    public QueryDoctorResponse.MsgBody getMsgBody() {
        return MsgBody;
    }

    public void setMsgBody(QueryDoctorResponse.MsgBody msgBody) {
        MsgBody = msgBody;
    }

    @XmlRootElement(name = "MsgBody")
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class MsgBody{
        private String Status;
        private String Code;
        private String Detail;
        private Data Data;

        public String getStatus() {
            return Status;
        }

        public void setStatus(String status) {
            Status = status;
        }

        public String getCode() {
            return Code;
        }

        public void setCode(String code) {
            Code = code;
        }

        public String getDetail() {
            return Detail;
        }

        public void setDetail(String detail) {
            Detail = detail;
        }

        public Data getData() {
            return Data;
        }

        public void setData(Data data) {
            Data = data;
        }


        @XmlRootElement(name = "Data")
        @XmlAccessorType(XmlAccessType.FIELD)
        public static class Data{
            private ResultQuantityList ResultQuantityList;

            public ResultQuantityList getResultQuantityList() {
                return ResultQuantityList;
            }

            public void setResultQuantityList(ResultQuantityList resultQuantityList) {
                ResultQuantityList = resultQuantityList;
            }

            @XmlRootElement(name = "ResultQuantityList")
            @XmlAccessorType(XmlAccessType.FIELD)
            public static class ResultQuantityList{
                private List<QueryDoctor> ResultQuantity;

                public List<QueryDoctor> getResultQuantity() {
                    return ResultQuantity;
                }

                public void setResultQuantity(List<QueryDoctor> resultQuantity) {
                    ResultQuantity = resultQuantity;
                }
            }
        }
    }









}
